<legend class='hyc-legend'>
    <span>线路列表</span>
</legend>
<div class="row hyc-query-row">
    <div class="col-md-2 text-center top7">起点省份</div>
    <div class="col-md-2">
        <div class="form-group">
            <button type="button" class="btn btn-default admin-select select hyc-width" ng-change="loadDepartCity()" ng-model="routeInfo.oProvinceCode" bs-options="p.code as p.name for p in loadProvince" bs-select placeholder="---选择起点省---">
            </button>
        </div>
    </div>
    <div class="col-md-2 text-center top7">起点区域</div>
    <div class="col-md-2">
        <input type="text" class="form-control hyc-color" placeholder="起点区域" ng-model="routeInfo.oTag">
    </div>
    <div class="col-md-2 text-center top7">线路名称</div>
    <div class="col-md-2">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" placeholder="线路名称" ng-model="routeInfo.name">
        </div>
    </div>
</div>
<div class="row hyc-query-row">
    <div class="col-md-2 text-center top7">终点省份</div>
    <div class="col-md-2">
        <div class="form-group">
            <button type="button" class="btn btn-default admin-select select hyc-width" ng-change="loadReceiptCity()" ng-model="routeInfo.dProvinceCode" bs-options="p.code as p.name for p in loadProvince" bs-select placeholder="---选择终点省---">
            </button>
        </div>
    </div>
    <div class="col-md-2 text-center top7">终点区域</div>
    <div class="col-md-2">
        <input type="text" class="form-control hyc-color" placeholder="终点区域" ng-model="routeInfo.dTag">
    </div>
    <div class="col-md-4">
        <div class="form-group text-right">
            <div class="btn btn-default btn-sm btn-warning" ng-click="loadData('query')">查询</div>&nbsp;&nbsp;&nbsp;
            <div class="btn btn-default btn-sm" ng-click="clearQuery()">重置</div>&nbsp;&nbsp;&nbsp;
            <div class="btn btn-default btn-sm btn-warning" ng-click="showAddDlg()">新增</div>
        </div>
    </div>
</div>
<table class="table table-bordered" style="margin-top: 10px;">
    <tr>
        <th class="text-left">线路名称</th>
        <th class="text-left">起点省</th>
        <th class="text-left">起点区域</th>
        <th class="text-left">终点省</th>
        <th class="text-left">终点区域</th>
        <th class="text-center">操作</th>
    </tr>
    <tr ng-repeat="item in routeList track by $index" ng-if="routeList.length > 0">
        <td class="text-left">{{item.name}}</td>
        <td class="text-left">{{item.oProvince}}</td>
        <td class="text-left">{{item.oTag}}</td>
        <td class="text-left">{{item.dProvince}}</td>
        <td class="text-left">{{item.dTag}}</td>
        <td class="text-center">
            <a ng-click="showUpdateDlg(item)" class="hyc-cursor-decoration" ng-hide="item.isLock">修改</a>&nbsp;&nbsp;
            <a ng-click="del(item)" class="hyc-cursor-decoration" ng-hide="item.isLock">删除</a>
        </td>
    </tr>
    <tr ng-if="routeList.length <= 0">
        <td class="text-center" colspan="6">暂无符合条件数据</td>
    </tr>
</table>
<div ng-include="pageIncludeUrl" ng-if="routeList.length > 0"></div>